package org.rency.common.utils.domain;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 查询IP地址返回
 * TODO
 * @author: user_rcy@163.com
 * </br>Created on 2015年11月14日
 * @version: V1.0.0
 * @since JDK 1.8
 */
public class IPResult {

	/**
	 * 国家
	 */
	private String country;
	private String countryId;
	/**
	 * 地区
	 */
	private String area;
	private String areaId;
	/**
	 * 区域
	 */
	private String region;
	private String regionId;
	/**
	 * 城市
	 */
	private String city;
	private String cityId;
	/**
	 * IP类别
	 */
	private String isp;
	private String ispId;
	/**
	 * IP地址
	 */
	private String ip;
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getCountryId() {
		return countryId;
	}
	public void setCountryId(String countryId) {
		this.countryId = countryId;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getAreaId() {
		return areaId;
	}
	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}
	public String getRegion() {
		return region;
	}
	public void setRegion(String region) {
		this.region = region;
	}
	public String getRegionId() {
		return regionId;
	}
	public void setRegionId(String regionId) {
		this.regionId = regionId;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getCityId() {
		return cityId;
	}
	public void setCityId(String cityId) {
		this.cityId = cityId;
	}
	public String getIsp() {
		return isp;
	}
	public void setIsp(String isp) {
		this.isp = isp;
	}
	public String getIspId() {
		return ispId;
	}
	public void setIspId(String ispId) {
		this.ispId = ispId;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	
	public String toString(){
		return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}
	
}
